﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ORM.Common.DataAnnotations;
using ORM.Resources;

namespace ORM.Business.Models.Entities
{
    public class GuideType
    {
        #region Primitive properties

        public int Id { get; set; }

        [RequiredExtended]
        [StringLengthExtended(100)]
        public string Name { get; set; }

        [StringLengthExtended(int.MaxValue / 2)] // Don't remove this line otherwise EF will throw a validation exception
        public string Description { get; set; }
        public bool IsDeleted { get; set; }
        #endregion
    }
}